.modal-content {
    overflow: hidden;
}

.modal-dialog {
    position: fixed;
}

.modal-dialog-hidden {
    display: none;
}

.modal-footer .btn-toolbar {
    margin-left: 0;
}

.modal-footer .btn-toolbar > .btn:first-child {
    margin-left: 0;
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 97%;
    }
}